 <%@ page language="java" contentType="text/html; charset=UTF-8"       
    pageEncoding="UTF-8"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>       
<%
	String basePath = request.getContextPath() + "/";
%>        
 <!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>工单录入</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
		<link rel="stylesheet" type="text/css" href="<%=basePath %>css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="<%=basePath %>css/display.css"/>
		<!--[if lt IE 9]><script src="<%=basePath %>js/html5.js"></script><![endif]-->	
		<link rel="stylesheet" href="<%=basePath %>js/plugin/kindeditor/themes/default/default.css" />
	</head>
	<body>
		<div class="formWrap">
			<div class="listSearch-title pen-title"><h5>工单录入</h5></div>
			<table cellpadding="0" cellspacing="0" border="0" class="form-table">
				<tr>
					<td class="form-title w120">工单流水号：</td>
					<td class="form-input">${serialNumber}<input type="hidden" id="serialNumber" value="${serialNumber}"/></td>
					<td class="form-title w200"><span class="star">*</span>工单类型：</td>
					<td class="form-input"><select id="parentTypeId" onchange="InitSubType(this.value)" class="select w160">
					<option value="">请选择</option>
					</select></td>
					<td class="form-title w200"><span class="star">*</span>类型细分：</td>
					<td  class="form-input"><select id="subTypeId" class="select w160"><option value="">请选择</option></select></td>		    
				</tr>
				<tr>
					<td class="form-title"><span class="star">*</span>客户帐号：</td>
					<td class="form-input"><input type="text" id="custName" class="input w158"></td>
					<td class="form-title"><span class="star">*</span>客户联系电话：</td>
					<td class="form-input"><input type="text" id="custTel" class="input w158"></td>
					<td class="form-title">客户邮件：</td>
					<td class="form-input"><input type="text" id="custMail"  class="input w158"></td>
				</tr>
				<tr>
					<td class="form-title">订单编号：</td>
					<td class="form-input"><input type="text" id="cussOrderCode"  class="input w158"></td>
					<td class="form-title"><span class="star">*</span>紧急程度：</td>
					<td><select class="select w160" id="urgentPriority">
				       <option value="">请选择</option>
				       <option value="10">低</option>
				       <option value="30" selected="selected">一般</option>
				       <option value="50">紧急</option>
				       <option value="70">非常紧急</option>
				    </select></td>
					<td class="form-title">指派处理人：</td>
					<td class="form-input"><select class="select w160" id="workOrderHandlerUm"></select></td>
				</tr>
				<tr>
					<td class="form-title"><span class="star">*</span>问题描述：</td>
					<td colspan="5" class="form-input">
						
						<!--<script type="text/plain" id="myEditor" class="textarea"><p>这里我可以写一些输入提示</p></script>-->
						<textarea class="textarea"  id="problemDescribe" name="problemDescribe"></textarea>
					</td>
				</tr>
				<!--<tr>
					<td class="form-title">问题图片：</td>
					<td colspan="5" class="form-input">
						<div class="problemPic">
							<ul class="problemPicList clearfix">
								<li><img src="image/addPic.jpg"></li>
								<li><img src="image/addPic.jpg"></li>
								<li><img src="image/addPic.jpg"></li>
								<li><img src="image/addPic.jpg"></li>
								<li><img src="image/addPic.jpg"></li>
							</ul>
							<p class="problemPicText">上传凭证：每张图片大小不超过5M，支持JPG、PNG格式，最多上传5张</p>
						</div>
					</td>
				</tr>
				<tr style="display:none">
					<td class="form-title">意见反馈：</td>
					<td colspan="5" class="form-input"><textarea  id="feedbackToCustomer" class="textarea" name="suggest"></textarea></td>
				</tr>
				-->
				<tr>
					<td colspan="6"><button onclick="cussWorkOrderAdd()" class="btn-form ml120">提交</button></td>
				</tr>
				
			</table>
		</div>
		
		<script type="text/javascript">
			var basePath = '<%=basePath %>';
		</script>
		<script src="<%=basePath %>js/jquery.min.js"></script>		
		<script charset="utf-8" src="<%=basePath %>js/plugin/kindeditor/kindeditor-min.js"></script>
		<script charset="utf-8" src="<%=basePath %>js/plugin/kindeditor/lang/zh_CN.js"></script>
		<script src="<%=basePath %>/js/plugin/artDialog/artDialog.source.js?skin=chrome"></script>
	    <script src="<%=basePath %>/js/plugin/artDialog/plugins/iframeTools.source.js"></script>
	    <script src="<%=basePath %>js/common.js"></script>			
		<script src="<%=basePath %>js/work_order_add.js"></script>	
	</body>
</html>